<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head >
    <meta charset="UTF-8">
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}"/>
    <title></title>
    <script th:src="@{/plugins/jQuery/jquery-2.2.3.min.js}"></script>
</head>
<body th:fragment="copyright">
<section  class="mesContent" >
<div>
    <h2>
        <span th:text="${headerMess}"></span>
        <small>操作修改</small>
    </h2>
</div>
<div>
    <form class="form" th:action="@{/MpsOpts/Update}" role="form" method="post">
        <input type="hidden" id="id" name="id" th:value="${O_I.id}"/>
        <input type="hidden" id="funId" name="funId" th:value="${O_I.funId}"/>
        <div class="form-group">
            <label>操作名称：</label>
            <input type="text" id="name" name="name" class="form-control" th:value="${O_I.name}"/>
        </div>
        <div class="form-group">
            <label>操作图标：</label>
            <input type="text" id="iconCls" name="iconCls" class="form-control" th:value="${O_I.iconCls}"/>
        </div>
        <div class="form-group">
            <label>操作连接：</label>
            <input type="text" id="href" name="href" class="form-control" th:value="${O_I.href}"/>
        </div>
        <div class="form-group">
            <label>操作说明：</label>
            <textarea id="descr" name="descr" class="form-control"  th:text="${O_I.descr}"></textarea>
        </div>
        <div class="form-group">
            <label>操作排序：</label>
            <input type="number" id="sort" name="sort" value="99999" class="form-control" th:value="${O_I.sort}"/>
        </div>
        <div class="form-group">
            <label>操作状态：</label>
            <input type="number" id="status" name="status" value="0" class="form-control" th:value="${O_I.status}"/>
        </div>
        <div class="row">
            <div class="col-md-5"></div>
            <div class="col-md-1">
                <input type="submit" class="btn  btn-primary" value="保存"/>
            </div>
            <div class="col-md-1">
                <a class="btn  btn-primary" th:href="@{/MpsOpts/MpsOptsListFindByFunId(funId=${O_I.funId})}">返回</a>
            </div>
            <div class="col-md-5"></div>
        </div>
    </form>
</div>
</section>

<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
</body>
</html>